//
//  GJTypeModel.m
//  GJLifeSimple
//
//  Created by MacBook on 16/6/18.
//  Copyright © 2016年 GoodJob. All rights reserved.
//

#import "GJTypeModel.h"

@implementation GJTypeModel
+ (instancetype)gjTypeModelWithDict:(NSDictionary *)dict {

    return [[self alloc] initWithDict:dict];

}

- (instancetype)initWithDict:(NSDictionary *)dict {

    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dict];
    }

    return self;
}

- (NSString *)description {
    
    NSArray *keys = @[@"name",@"icon"];
    return [self dictionaryWithValuesForKeys:keys].description;
}
@end
